package Myclassroom;
public class Student implements hello,work{
    String name;
    public Student(String name) {
        this.name = name;
    }
    @Override
    public void hello() {
        System.out.println(name+":老师好!");
    }
    @Override
    public void work() {
        System.out.println(name+":同学们开始记笔记了!");
    }
}
